package com.lory.springcloud.service.impl;

import com.lory.springcloud.service.PaymentHystrixService;
import org.springframework.stereotype.Component;

/**
 * @Description TODO
 * @Author lory
 * @Date 2020/3/18 0018
 * @Version V3.1
 **/
@Component
public class PaymentFallbackHystrixService implements PaymentHystrixService {
    @Override
    public String paymentInfo_OK(Integer id) {
        return "----PaymentFallbackService fall back back-paymentInfo_OK";
    }

    @Override
    public String paymentInfo_Timeout(Integer id) {
        return "----PaymentFallbackService fall back-paymentInfo_Timeout";
    }
}
